<script type="text/javascript"> 
		
		 function validateStudent(){
			echo "asd";
			return false;
			var lastname = $('input[id=lastname]').val();
			var selectValAcademicDegree = $('#academicdegree :selected').val();
			var selectValStudyform = $('#studyform :selected').val();
			var selectValSpeciality = $('#speciality :selected').val();
			var selectValStudylanguage = $('#studylanguage :selected').val();
			var selectValSex = $('input:radio:checked').val();
			
			if (selectValAcademicDegree==0){
				$("#label_error").text('Choose academicdegree');
				$("#div_error").css('display','');
				window.location.hash = '#div_error';				
				return false;
			}
			
			if (selectValStudyform==0){
				$("#label_error").text('Choose studyform');
				$("#div_error").css('display','');
				window.location.hash = '#div_error';				
				return false;
			}
			
			if (selectValSpeciality==0){
				$("#label_error").text('Choose speciality');
				$("#div_error").css('display','');
				window.location.hash = '#div_error';				
				return false;
			}
			
			if(selectValSex!=1 && selectValSex!=2) {
				$("#label_error").text('Choose sex');
				$("#div_error").css('display','');
				window.location.hash = '#div_error';				
				return false;
			}
						
			if ($.trim(lastname).length == 0) {
				$("#label_error").text('Fill Second name');
				$("#div_error").css('display','');
				window.location.hash = '#div_error';
				return false;
			}
			return true;		
			}

</script>